#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time    : 19-5-30 下午11:36
# @Author  : Tom
# @Site    : 
# @File    : storage.py
# @Software: PyCharm

from django.core.files.storage import Storage
from django.conf import settings


class FdfsStorage(Storage):
    def open(self, name, mode='rb'):
        pass

    def save(self, name, content, max_length=None):
        pass

    def url(self, name):
        return settings.FDFS_URL + name
